package com.shao.app.service;

import com.shao.app.entity.Order;

import java.util.List;

/**
 * @author PaoFu
 */
public interface UserService {
    Object getWalletBalance(Long userId);

    void consumeWallet(Long userId, double amount);

    void applyRefund(Long userId, double amount);

    List<Order> getOrderHistory(Long userId);
}
